var obj = {
    name:"李宏毅",
    age:27
}
console.log(obj.name)
console.log(obj["name"])
console.log(obj.age)
console.log(obj["age"])

obj.work ="少年歌行"
console.log(obj.work)
console.log('姓名：'+obj.name,'年龄：'+obj.age,'作品：'+obj.work)

var person="lhy"
console.log(person)

var person1='who'
obj.ren=person1
console.log(person1)
console.log(obj.ren)